﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace XZTZ.UMP.Public.Models.Change
{
    [Table("Change_BaseInfo")]
    public class Change_BaseInfo
    {
        [Key]
        public Guid guidChangeID { get; set; }

        public Guid guidSegmentID { get; set; }

        public Guid guidOldChangeID { get; set; }

        public string strChangeCode { get; set; }

        public string strChangeName { get; set; }

        public string strChangeContent { get; set; }

        public string strChangeType { get; set; }

        public string strBusinessTypeID { get; set; }

        public bool blnIsZero { get; set; }

        public Guid guidReasonTypeID { get; set; }

        public Guid ?guidChangeLevelID { get; set; }

        public bool blnEffectFlag { get; set; }

        public decimal dblChangeMoney { get; set; }

        [StringLength(4000)]
        public string strChangeReason { get; set; }

        [StringLength(4000)]
        public string strChangeMethod { get; set; }

        [StringLength(4000)]
        public string strResonAndMethod { get; set; }

        [StringLength(4000)]
        public string strOldGraph { get; set; }

        [StringLength(4000)]
        public string strGraphName { get; set; }

        [StringLength(4000)]
        public string strChangeGraph { get; set; }

        public decimal dblPreBalance { get; set; }

        public decimal dblPreBidBalance { get; set; }

        [StringLength(4000)]
        public string strConfirmNo { get; set; }

        public Guid? guidFlowID { get; set; }

        public string strOperator { get; set; }

        [StringLength(4000)]
        public string strJldw { get; set; }

        [DataType(DataType.Date)]
        public DateTime dtmOperateDate { get; set; }

        [DataType(DataType.Date)]
        public DateTime ?dtmSubmitDate { get; set; }

        public bool blnIsEqual { get; set; }

        public bool blnIsSubmit { get; set; }

        public bool blnIsRollBack { get; set; }

        public bool blnIsCancel { get; set; }

        [StringLength(4000)]
        public string strNote { get; set; }

        public bool blnIsUp { get; set; }

        public bool blnIsDown { get; set; }

    }
}
